﻿using System;
using System.Collections.Generic;
using System.ComponentModel.Design;
using System.Reflection;
using System.Text;

namespace Water.Web.Controls.Design
{
    public class MenuItemEditor:CollectionEditor
    {
        public MenuItemEditor(Type type) : base(type) { }

        //一次可否选择多项
        protected override bool CanSelectMultipleInstances()
        {
            return false;
        }

        //获取此集合包含的数据类型
        protected override Type CreateCollectionItemType()
        {
            return typeof(Water.Web.Controls.MenuItem);
        }
    }
}
